<? if(!$logged_in): ?> 
    <h1>Авторизация</h1>
    
    <? if($logged_err): ?>
        <p>Не верно введен логин или пароль!</p>
    <? endif ?>
            
    <form name="authorization_form" id="authorization_form" method="post">
        <div id="div_authorization_form">

            <div class="element_form">
                <div class="label">Логин</div>
                <div class="input"><input type="text" name="authorization_form_login" id="authorization_form_login" /></div>
            </div>

            <div class="element_form">
                <div class="label">Пароль</div>
                <div class="input"><input type="password" name="authorization_form_password" id="authorization_form_password" /></div>
            </div>

            <div class="element_form">
                <div class="button"><input type="submit" name="authorization_form_submit" id="authorization_form_submit" /></div>
            </div>

        </div>
    </form>

<? endif ?>

